<?php

namespace App\Containers\AppSection\Profile\Traits;

use App\Containers\AppSection\Profile\Tasks\CheckIfUserCanCreateProfileTask;

trait ProfilesCount
{
    public function profilesCount(): bool
    {
        return app(CheckIfUserCanCreateProfileTask::class)->run($this->input('legal_form_type'));
    }
}
